/*
弹出框样式
*/
@-webkit-keyframes loading {
    0% {
        -webkit-transform: rotate(0deg);
    }
    100% {
        -webkit-transform: rotate(720deg);
    }
}

@-moz-keyframes loading {
    0% {
        -moz-transform: rotate(0deg);
    }
    100% {
        -moz-transform: rotate(720deg);
    }
}

/*db*/
.db-bg, #loading {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: rgba(0, 0, 0, 0.79);
}

/*loading*/
#loading {
    z-index: 100000;
}

#loading .load-wrap {
    background: rgba(0, 0, 0, .5);
    border-radius: 5px;
    position: absolute;
    left: 50%;
    margin-left: -35px;
    top: 50%;
    margin-top: -35px;
    width: 70px;
    height: 70px;
}

#loading .load-wrap p {
    width: 70px;
    height: 70px;
    background: url() center center no-repeat;
    -webkit-animation: loading 2s linear infinite;
    -moz-animation: loading 2s linear infinite;
    background-size: contain;
}

.db-wrap {
    display: none;
    position: fixed;
    top: 20%;
    left: 30px;
    right: 30px;
    background: #FFFFFF;
    color: #333333;
    border: 1px solid #ECECEC;
    border-radius: 5px;
}

.db-wrap .db-header {
    font-size: 16px;
    text-align: center;
    padding: 12px 0 0;
}

.db-wrap .db-footer {
    border-top: 1px solid #ECECEC;
}

.db-wrap .db-footer ul {
    display: table;
    width: 100%;
}

.db-wrap .db-footer li {
    width: 1%;
    display: table-cell;
    border-right: 1px solid #ECECEC;
}

.db-wrap .db-footer li:last-child {
    border-right: none;
}

.db-wrap .db-footer a {
    display: block;
    line-height: 45px;
    text-align: center;
    font-size: 0.16rem;
    color: #E8003F;
}

/*移动端提示框样式*/
@-webkit-keyframes boxfade {
    0% {
        opacity: 0;
        -webkit-transform: translate3d(0px, 0px, 0px);
    }
    20% {
        opacity: 0.8;
        -webkit-transform: translate3d(0px, -20px, 0px);
    }
    80% {
        opacity: 0.8;
        -webkit-transform: translate3d(0px, -20px, 0px);
    }
    100% {
        opacity: 0;
        -webkit-transform: translate3d(0px, 0px, 0px);
    }
}

@-moz-keyframes boxfade {
    0% {
        opacity: 0;
        -webkit-transform: translate3d(0px, 0px, 0px);
    }
    20% {
        opacity: 0.8;
        -webkit-transform: translate3d(0px, -20px, 0px);
    }
    80% {
        opacity: 0.8;
        -webkit-transform: translate3d(0px, -20px, 0px);
    }
    100% {
        opacity: 0;
        -webkit-transform: translate3d(0px, 0px, 0px);
    }
}

.db-tip-wrap {
    position: fixed;
    left: 0;
    right: 0;
    top: 80%;
    margin-top: -20px;
    padding: 0 20px;
    text-align: center;
    z-index: 99999;
    -webkit-animation: boxfade 2.1s ease;
    -moz-animation: boxfade 2.1s ease;
    -ms-animation: boxfade 2.1s ease;
}

.db-tip {
    display: inline-block;
    font-size: 12px;
    border-radius: 5px;
    padding: 10px;
    background: #000;
    color: #fff;
    line-height: 1.5;
}

/*遮罩层*/
.dialog-wrap {
    position: fixed;
    display: -webkit-box;
    display: -moz-box;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    overflow-y: scroll;
    z-index: 10000;
    background-color: #0E1821;
}

.page-dialog {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    overflow-y: scroll;
}

.mod-db-wrap{
    position: fixed;
    top: 20%;
    left: 0.3rem;
    right: 0.3rem;
    background: #FFFFFF;
    border-radius: 0.05rem;
}

.mod-stockType-list .wrap {
    padding-top: .5rem;
    background: #E2E2E2;
}

.mod-stockType-list .wrap a {
    display: block;
    line-height: .5rem;
    border-bottom: .01rem solid #FFFFFF;
    text-align: center;
    font-size: .16rem;
    color: #131D26;
}